* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

:root {
  --gradient-top: linear-gradient(
    0deg,
    rgba(22, 24, 19, 0) 0%,
    rgba(22, 24, 19, 0.22) 36.98%,
    rgba(22, 24, 19, 0.47) 70.83%,
    rgba(22, 24, 19, 0.76) 100%
  );
  --gradient-bottom: linear-gradient(
    180deg,
    rgba(22, 24, 19, 0) 0%,
    rgba(22, 24, 19, 0.42) 21.88%,
    rgba(22, 24, 19, 0.69) 41.67%,
    rgba(22, 24, 19, 0.9) 61.98%,
    rgba(22, 24, 19, 0.99) 78.12%,
    #161813 100%
  );
  --sphere-gradient-one: radial-gradient(
    50% 50% at 20% 25%,
    #686868 0%,
    #403f3f 35%,
    #222222 70%,
    #000000 100%
  );
  --sphere-gradient-two: radial-gradient(
    51.04% 51.04% at 18.94% 26.18%,
    #686868 0%,
    #403f3f 36.98%,
    #222222 70.83%,
    #000000 100%
  );
}

body {
  font-family: 'poppins', sans-serif;
  background: #161813;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9;
  width: 100%;
  height: 100px;
  padding: 20px 30px;
  transition: 0.5s;
}
.navbar.bg {
  background: #161813;
}

.links-container {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
}
.logo {
  height: 50px;
  margin-top: 10px;
}

.link-item {
  margin: 0 30px;
  transition: 0.5s;
}
.link-item a {
  color: #fff;
  text-decoration: none;
  padding: 20px;
}

.hero-section {
  width: 100%;
  height: 100vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
}

.hero-section-title {
  font-family: 'roboto slab', serif;
  font-weight: 300;
  font-size: 80px;
  text-align: center;
  text-transform: capitalize;
}

.hero-section-sub-heading {
  text-align: center;
  text-transform: capitalize;
  margin: 20px 0;
  font-size: 20px;
}

.background {
  position: absolute;
  top: 0;
  left: 9;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.background::before,
.background::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 50%;
}

.background::before {
  top: 0;
  left: 0;
  background: var(--gradient-top);
}
.background::after {
  bottom: 0;
  left: 0;
  background: var(--gradient-bottom);
}

.slider-grid {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
}
.grid-item {
  width: 100%;
  height: 100%;
  background: #161813;
  opacity: 1;
  transition: 0.5s;
  pointer-events: none;
}
.grid-item.hide {
  opacity: 0;
}

.scroll-down-icon {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  animation: down ease 1s infinite;
}

@keyframes down {
  from {
    bottom: 10%;
  }
  to {
    bottom: 7%;
  }
}

.explore-section {
  position: relative;
  width: 100%;
  padding: 80px 10vw;
  color: #fff;
}

.section-title {
  font-size: 30px;
  font-weight: 400;
  text-align: center;
  text-transform: capitalize;
}

.section-para {
  width: 50%;
  min-width: 300px;
  display: block;
  margin: 30px auto;
}

.tours-container {
  position: relative;
  width: 100%;
  height: 600px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-gap: 20px;
}

.tour-card {
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  padding: 10px;
  display: flex;
  align-items: end;
}
.tour-card:nth-child(2) {
  grid-row: span 2;
}

.tour-card:last-child {
  grid-column: span 2;
}

.tour-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
  z-index: -1;
}

.tour-card:hover .tour-img {
  opacity: 0.8;
  transform: scale(1.1);
}

.tour-name {
  font-weight: 300;
}

.tour-action {
  margin-left: 20px;
  font-size: 14px;
  position: relative;
}

.tour-action::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 2px;
  background: url('img/pin.png');
  width: 15px;
  height: 15px;
  background-size: contain;
}
